﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage_Content.master" AutoEventWireup="true"
    CodeFile="newsdetail.aspx.cs" Inherits="newsdetail" %>

<asp:Content ID="Content4" ContentPlaceHolderID="Search" runat="Server">
    <meta name="Keywords" content="<%=Model.Keywords %>" />
    <meta name="Description" content="<%=Model.Description %>" />
    <title>
        <%=Model.Title %>
        - 新闻动态 -
        <%= WebSideConfig.WebSideName %></title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="Server">
    <%=Model.Title %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <div class="ui-page-info">
        <span>来源：<%=Model.Source %></span>&nbsp;&nbsp;
        <span>作者：<%=Model.Author %></span>&nbsp;&nbsp;
        <span>发布日期：<%= SetShortDateTime(Model.ReleaseDate.ToString()) %></span>&nbsp;&nbsp; 
        <span>查看次数：<%=Model.ReadCount.ToString() %></span>
    </div>

    <div class="ui-page-text">
        <%=Model.Content %>
    </div>
    <%--<div class="lastnextnews">
        <% if (LastModel != null)
           {%>
        <div>
            上一篇：<a href="newsdetail.aspx?id=<%= LastModel.NewsId %>"><%= LastModel.Title%></a>
        </div>
        <%} %>
        <% if (NextModel != null)
           {%>
        <div>
            下一篇：<a href="newsdetail.aspx?id=<%= NextModel.NewsId %>"><%= NextModel.Title%></a>
        </div>
        <%} %>
    </div>--%>
</asp:Content>
